public class print1 {
public static void main(String[] args){
  int i = 4;
  double j = 5;

  System.out.print("用print输出i:"+ i);
  System.out.println("用println输出i:"+ i);
  System.out.printf("i的值为%d,j的值为%f:",i,j);
}
}

